﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyCocos2D
{
    public abstract class CCGameObject
    {
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        private Point position;
        public Point Position
        {
            get { return position; }
            set { position = value; }
        }

        public CCGameObject() { }

        public abstract bool getObject(Point p);

        public abstract string serialineCPP();

        public abstract string serialineH();

        public abstract void Draw(Graphics g);
    }
}
